'use strict';

const Controller = require('egg').Controller;

class PostController extends Controller {
    async index() {
        this.ctx.body = "列表页"
    }
    async new() {
        this.ctx.body = "新增"
    }
    async create() {
        this.ctx.body = "新增逻辑"
    }
    async show() {
        this.ctx.body = "详情"
    }
    async update() {
        this.ctx.body = "更新"

    }
    async edit() {
        this.ctx.body = "编辑"

    }
    async destroy() {
        this.ctx.body = "删除"
    }
}

module.exports = PostController;
